#!/usr/bin/env bash

# SPDX-License-Identifier: Apache-2.0
# Copyright (c) 2025 Cisco Systems, Inc.

VPP_WS=${VPP_WS:-/scratch/fcoras/vpp}
CFG_WS=$VPP_WS/extras/scripts/host-stack/perf-tests
BIN=$VPP_WS/build-root/build-vpp-native/vpp/bin/vcl_test_server
GDB_ENV=$CFG_WS/gdb_init_tls
VCL_CFG=$CFG_WS/vcl_perf.conf
PARAMS=$@

sudo taskset --cpu-list 6-11 sh -c "VCL_CONFIG=$VCL_CFG $BIN $PARAMS"